<template>
  <view class="my_contanier">
    <mylogin v-if="!token"></mylogin>
    <myuserInfo v-else></myuserInfo>
  </view>
</template>

<script>
import {mapGetters,mapState,mapMutations} from 'vuex'
   import badgeMix from '@/mixin/tabbar-badge.js'
  export default {
    mixins:[badgeMix],
    data() {
      return {
        
      };
    },
    computed:{
      ...mapState('user',['token'])
    },
    methods:{
      
    }
  }
</script>

<style lang="scss">
page,.my_contanier {
  height: 100%;
}
</style>
